Electric motor and gearboxes